package com.itcam.ioc_01;

import org.springframework.stereotype.Component;

/**
 * projectName: com.itcam.components
 * <p>
 * description: 普通的组件
 *
 *  1.标记注解：@Component
 *  2.配置指定包
 */
@Component //就相当于 <bean id="commonComponent" class="com.itcam.ioc_01.CommonComponent"/>
public class CommonComponent {
}